automation: make clean between builds
authorWei Liu <wei.liu2@citrix.com>
Wed, 21 Nov 2018 16:28:10 +0000 (16:28 +0000)
committerWei Liu <wei.liu2@citrix.com>
Wed, 21 Nov 2018 18:34:27 +0000 (18:34 +0000)
commit568653e01b84be5ac15fbf949bbcffcd91d6e829
tree4f1b7991d957833607ae0184129ae15940795487
parent07ee667d3b7a501a666a9c125996c0cfa12f165f
automation: make clean between builds

Currently randconfig tests are more likely to fail than to succeed
because of a bug in xen's build system: symbols-dummy.o's dependency
is wrong, which causes it to not get rebuild between runs, which
eventually causes linking to fail. There may also be other corner
cases we haven't discovered.

The fix is not straightforward. For now, make sure the tree is cleaned
properly between builds so we don't see random failures in Gitlab CI.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
automation/scripts/build